package com.swg.wxorder.utils;

import java.util.Random;

/**
 * @Author 【swg】.
 * @Date 2018/6/23 15:37
 * @DESC
 * @CONTACT 317758022@qq.com
 */
public class KeyUtil {
    public static synchronized String genUniqueKey() {
        Random random = new Random();
        Integer number = random.nextInt(900000) + 100000;

        return System.currentTimeMillis() + String.valueOf(number);
    }
}
